<volist name="tree" id="list">
	<dl class="cate-item">
		<dt class="cf">
			<form action="{:U('edit')}" method="post">
				<div class="btn-toolbar opt-btn cf">
					<a title="编辑" href="{:U('upChapter', array('sid' => I('id'),'id' => $list['id'], 'pid' => $list['pid']))}">编辑</a>
					<a title="删除" href="{:U('delChapter?id='.$list['id'].'&pid='.$list['pid'])}" class="confirm ajax-get">删除</a>
				</div>
				<div class="fold"><i></i></div>
				<div class="order"><input type="text" name="sort" class="text input-mini" value="{$list.sort}" readonly></div>
				<div class="name">
					<span class="tab-sign"></span>
					<input type="hidden" name="id" value="{$list.id}">
					<input type="text" name="name" class="text" value="{$list.name}" readonly>
					<if condition="$list['pid'] eq 0">
						<a class="add-sub-cate" title="添加子分类" href="{:U('addChapter', array('sid' => I('id'), 'pid' => $list['id']))}">
							<i class="icon-add"></i>
						</a>
					</if>
					<span class="help-inline msg"></span>
				</div>
			</form>
		</dt>
		<notempty name="list['_']">
			<dd>
				{:R('Manage/chapterTree', array($list['_']))}
			</dd>
		</notempty>
	</dl>
</volist>